<?php

use App\Http\Controllers\StaticPagesController;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\UsersController;

Route::controller(StaticPagesController::class)->group(function () {
    Route::get('/', 'home')->name('home');
    Route::get('/help', 'help')->name('help');
    Route::get('/about', 'about')->name('about');
});


Route::controller(UsersController::class)->group(function () {
    Route::get('/signup', 'create')->name('signup');
});

Route::resource('users', UsersController::class);

